﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SHomeWorkshop.LunarMind;

namespace SHomeWorkshop.LunarMind
{
    class TitleIndexCompare : IComparer<Title>
    {
        public int Compare(Title x, Title y)
        {
            if (x.Index == y.Index) return 0;
            else return x.Index > y.Index ? 1 : -1;
        }
    }
}
